package com.zxy.ziems.server.device.convertor;

import com.zxy.ziems.server.device.pojo.dto.DeviceCustomDataDTO;
import com.zxy.ziems.server.device.pojo.entity.DeviceCustomDataEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DeviceCustomDataConvertor {
    DeviceCustomDataConvertor INSTANT = Mappers.getMapper(DeviceCustomDataConvertor.class);

    DeviceCustomDataEntity dto2Entity(DeviceCustomDataDTO dto);
}
